package com.zjt.dao.brandcategory;

import com.zjt.entity.brandcategory.Category;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * 物码中心数据采集的DAO interface;
 * 
 * @author xueyanbeijing
 */
public interface ICategoryDao extends JpaRepository<Category,Long> {
    List<Category> findByChName(String chName);
    List<Category> findByEnName(String enName);
}
